package top.frsf.envi;

import top.frsf.GameObject;

import java.awt.*;

/**
 * @BelongsProject: MiniPZ
 * @BelongsPackage: top.frsf.utils
 * @Author: FRSF
 * @CreateTime: 2022-09-11  16:26
 * @Description: 草地集合
 * @Version: 1.0
 */
public class Grand extends GameObject {
    // 是否可以种植
    public boolean plant = true;

    public Grand(String img, int x, int y) {
        super(img, x, y, 80, 95);
    }

    @Override
    public void paintSelf(Graphics g) {
        g.setColor(Color.BLACK);
        g.drawRect(getX(), getY(), getWidth(), getHeight());
    }
}
